import { track } from "../effect/track";
import { TrackOpTypes } from "../utils";

export default function (target: any, key: string | symbol) {
  track(target, TrackOpTypes.HAS, key);
  return Reflect.has(target, key);
}